home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / PopUp / Static / Makefile < prev   
Makefile  |  1995-09-04  |  1KB  |  62 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.Show    \
  4.             o.Close    \
  5.             o.Open    \
  6.  
  7.  
  8. LibName        =    PopUp
  9.  
  10. # Template makefile which makes normal 
  11. # .o files for use in the main static
  12. # linking DeskLib.
  13.  
  14. # The macro $(ObjectFiles) should be set at the 
  15. # start of this file to be a space-separated
  16. # list of object files.
  17. # This is done by 'Makatic'.
  18.  
  19. # The macro $(LibName) should also be set at the 
  20. # start of this file, to be the name of the 
  21. # DeskLib sublibrary.
  22. # This is done by 'Makatic'.
  23.  
  24. # Compiler and linker flags, These can be anything. 
  25. # All essential flags are included in the macros 
  26. # $(CC) and $(ASM)
  27. #
  28. CCFlags        =    -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  29. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  30.  
  31. CC        =    cc -c $(CCFlags)
  32. ASM        =    objasm $(ASMFlags)
  33.  
  34.  
  35. # -------------------------------------------------------
  36. # Everything below here should probably not be changed...
  37. # -------------------------------------------------------
  38.  
  39. # Here's what we want to make...
  40. #
  41. All:        $(ObjectFiles)
  42.  
  43.  
  44. VPATH = @.^
  45.  
  46. .SUFFIXES:    .c .s .o
  47.  
  48. .c.o:
  49.     $(CC) $< -o $@
  50.     
  51. .s.o:
  52.     $(ASM) -from $< -to $@
  53.  
  54.  
  55.  
  56. # Dynamic dependencies:
  57. o.Show:    ^.c.Show
  58. o.Show:    DeskLib:h.WimpSWIs
  59. o.Show:    DeskLib:h.Core
  60. o.Show:    DeskLib:h.Wimp
  61. o.Show:    DeskLib:h.PopUp
  62.